
public class Attribute {
	
	public enum AccessModifier{
		PRIVATE , PUBLIC , PROTECTED, DEFAULT;
	}
	
	private String name;
	private AccessModifier access;
	private PrimitiveType type;
	
	public Attribute() {
		super();
	}

	public Attribute(String name, AccessModifier access, PrimitiveType type) {
		super();
		this.name = name;
		this.access = access;
		this.type = type;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public AccessModifier getAccess() {
		return access;
	}

	public void setAccess(AccessModifier access) {
		this.access = access;
	}

	public PrimitiveType getType() {
		return type;
	}

	public void setType(PrimitiveType type) {
		this.type = type;
	}
}
